using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.Finance.DTO.FinanceUser;

/// <summary>
///     财务用户新增模型
/// </summary>
public class FinanceUserAddDTO
{
    /// <summary>
    ///     财务用户编码
    /// </summary>
    [Required(ErrorMessage = "财务用户编码不可为空")]
    public string Code { get; set; }

    /// <summary>
    ///     财务用户名称
    /// </summary>
    [Required(ErrorMessage = "财务用户名称不可为空")]
    public string Name { get; set; }

    /// <summary>
    ///     财务用户头像
    /// </summary>
    public string? HeadImage { get; set; }

    /// <summary>
    ///     财务用户账号
    /// </summary>
    [Required(ErrorMessage = "财务用户账号不可为空")]
    public string Account { get; set; }

    /// <summary>
    ///     财务用户密码
    /// </summary>
    [Required(ErrorMessage = "财务用户密码不可为空")]
    public string Password { get; set; }

    /// <summary>
    ///     财务用户邮箱
    /// </summary>
    [Required(ErrorMessage = "财务用户邮箱不可为空")]
    public string Email { get; set; }

    /// <summary>
    ///     手机号
    /// </summary>
    public string? MobilePhone { get; set; }
}